/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/views/layout/Layout'

const router = {
  path: '/cashingManagement',
  component: Layout,
  redirect: 'noredirect',
  meta: { title: '出纳管理', icon: 'fas fa-tachometer-alt', noCache: true },
  children: [
    {
      path: 'accountSettings',
      component: () => import('@/views/cashingManagement/accountSettings'),
      name: 'AccountSettings',
      meta: { title: '账户设置', icon: 'fas fa-tachometer-alt', noCache: true }
    },
    {
      path: 'cashierAccountRegistration',
      component: () => import('@/views/cashingManagement/cashierAccountRegistration'),
      name: 'CashierAccountRegistration',
      meta: { title: '出纳账登记', icon: 'fas fa-tachometer-alt', noCache: true }
    },
    {
      path: 'checkGeneralLedger',
      component: () => import('@/views/cashingManagement/checkGeneralLedger'),
      name: 'CheckGeneralLedger',
      meta: { title: '核对总账', icon: 'fas fa-tachometer-alt', noCache: true }
    },
    {
      path: 'cashierMonthlyBalance',
      component: () => import('@/views/cashingManagement/cashierMonthlyBalance'),
      name: 'CashierMonthlyBalance',
      meta: { title: '出纳月结', icon: 'fas fa-tachometer-alt', noCache: true }
    },
    {
      path: 'cashierDaily',
      component: () => import('@/views/cashingManagement/cashierDaily'),
      name: 'CashierDaily',
      meta: { title: '出纳日报表', icon: 'fas fa-tachometer-alt', noCache: true }
    },
    {
      path: 'cashierMonthly',
      component: () => import('@/views/cashingManagement/cashierMonthly'),
      name: 'CashierMonthly',
      meta: { title: '出纳月报表', icon: 'fas fa-tachometer-alt', noCache: true }
    },
    {
      path: 'bankReconciliation',
      component: () => import('@/views/cashingManagement/bankReconciliation'),
      name: 'BankReconciliation',
      meta: { title: '银行对账', icon: 'fas fa-tachometer-alt', noCache: true }
    }
  ]
}

export default router
